import Request from '@/utils/request'
import axios from 'axios'

const hmyx = 'https://api-hmugo-web.itheima.net'

// 获取轮播图
export const getSwiperList = () => axios.get(hmyx + '/api/public/v1/home/swiperdata')

// 获取首页数据
export const getPageInfo = () => Request.get('/page/detail', {
  params: {
    pageId: 0
  }
})
